package cn.taoticket.mapper;
import cn.taoticket.pojo.TaoticketUser;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TaoticketUserMapper {

	public TaoticketUser getTaoticketUserById(@Param(value = "id") Long id)throws Exception;

	public List<TaoticketUser>	getTaoticketUserListByMap(Map<String,Object> param)throws Exception;

	public Integer getTaoticketUserCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertTaoticketUser(TaoticketUser taoticketUser)throws Exception;

	public Integer updateTaoticketUser(TaoticketUser taoticketUser)throws Exception;

	public Integer deleteTaoticketUserById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteTaoticketUser(Map<String,List<String>> params);

	public TaoticketUser checkLoginByPassword(@Param("phone") String phone,@Param("password")String password) throws Exception;


}
